See Also

SegmentedStream Class  | SegmentedStream Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

buffer
The storage location of the data.
delimiter
The sequence to find.
offset
The zero-based position in the buffer from which to begin writing from.
count
The exact number of bytes to write.
See Also Languages PowerTCP Email Validation for .NET

Write(Byte[],Byte[],Int32,Int32) Method

Dart.PowerTCP.EmailValidation Namespace > SegmentedStream Class > Write Method : Write(Byte[],Byte[],Int32,Int32) Method

Write data to the stream until a delimiter is reached.

[Visual Basic]
Overloads Public Function Write( _    ByVal buffer() As Byte, _    ByVal delimiter() As Byte, _    ByRef offset As Integer, _    ByRef count As Integer _ ) As Boolean
[C#]
public bool Write(    byte[] buffer,    byte[] delimiter,    ref int offset,    ref int count );
[C++]
public: bool Write(    byte[]* buffer,    byte[]* delimiter,    ref int offset,    ref int count )
[C++/CLI]
public: bool Write(    bytearray<buffer>^ buffer,    bytearray<delimiter>^ delimiter,    % int offset,    % int count )

Parameters

buffer
The storage location of the data.
delimiter
The sequence to find.
offset
The zero-based position in the buffer from which to begin writing from.
count
The exact number of bytes to write.

Return Type

true if delimiter is found; false otherwise.

Remarks

This method writes data until the delimiter is found (returning true and not writing the delimiter) or writes the entire buffer (returning false).

Flush must be called after writing if this method is being used.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

SegmentedStream Class  | SegmentedStream Members  | Overload List


Send comments on this topic.

Documentation version 1.0.3.0.

© 2008 Dart Communications.  All rights reserved.